﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QuanLyPhongTroDevLinQ
{
    public partial class Frm_ReportHoaDon : Form
    {
        public Frm_ReportHoaDon()
        {
            InitializeComponent();
        }

        private void documentViewer1_Load(object sender, EventArgs e)
        {

        }

        private void Frm_ReportHoaDon_Load(object sender, EventArgs e)
        {
           XtraReport_HoaDon reportHoaDon=new XtraReport_HoaDon();
           documentViewer1.PrintingSystem = reportHoaDon.PrintingSystem;
            reportHoaDon.CreateDocument();
        }
    }
}
